package com.alibaba.citrus.cr.sales.plan.api.setting;

import com.alibaba.citrus.cr.sales.plan.dto.api.request.PageQuerySalesPlanStrategyDetailRequest;
import com.alibaba.citrus.cr.sales.plan.dto.api.request.QuerySalesPlanStrategyDetailRequest;
import com.alibaba.citrus.cr.sales.plan.dto.api.request.QuerySalesPlanStrategyListRequest;
import com.alibaba.citrus.cr.sales.plan.dto.api.response.SalesPlanStrategyDetailResponse;
import com.alibaba.citrus.cr.sales.plan.sdo.SalesPlanStrategyDetailSDO;
import com.alibaba.cz.base.tool.page.PageResult;
import com.alibaba.lattice2.epoch.meshflow.model.annotation.MeshFlowService;
import com.alibaba.lattice2.epoch.sdk.model.Result;

import java.util.List;

@MeshFlowService(apps = {"bc_order"},name = "salesPlanStrategyDetailQueryService")
public interface SalesPlanStrategyDetailQueryService {

    /*
     * 分页查询部门回收策略明细
     */
    Result<PageResult<List<SalesPlanStrategyDetailSDO>>> pageQuerySalesPlanStrategyDetailList(PageQuerySalesPlanStrategyDetailRequest pageQuerySalesPlanStrategyDetailRequest);

    /*
     * 根据id查询计划策略
     */
    Result<SalesPlanStrategyDetailSDO> queryProductPlanInfoById(QuerySalesPlanStrategyDetailRequest querySalesPlanStrategyDetailRequest);

   /**
    * 根据业务单元和类型获取计划回复策略
    */
   Result<SalesPlanStrategyDetailResponse> getSalesPlanStrategyDetail(QuerySalesPlanStrategyListRequest querySalesPlanStrategyListRequest);
}
